<?php

class Validator_RK {
    public function isValid($rkId) {
        if (!in_array($rkId, explode(',', SERVICE_ALLOWED_RKS))) {
            $this->error = RK_ERROR_UNKNOWN_ID;
            return false;
        }
        return true;
    }
}
